package com.group3.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@ApiModel("小组课程表（得分）")
public class GroupLesson {

    @ApiModelProperty(name = "小组课程id")
    private Integer id;

    @ApiModelProperty(name = "课程名")
    private String lessonName;

    @ApiModelProperty(name = "小组id")
    private Integer groupId;

    @ApiModelProperty(name = "小组课程的教师评分")
    private Float score;

    @ApiModelProperty(name = "教师评语")
    private String comment;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName == null ? null : lessonName.trim();
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }
}